package com.kube.design.prototypepattern;

import java.io.Serializable;

/**
 * @author q.zhangr
 * @version 1.0.0
 * @date 2020/7/22
 */
public class Attachment2 implements Serializable {

    /**
     * 附件名
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void download() {
        System.out.println("下载附件" + name);
    }
}
